	<div class="portlet">
	<table style="width:100%">
		<tr>
			<td>
				<div>
					<a class="btn btn-success title-action"  ng-click="publishTable.add();" 
					style="width:140px;height: 45px;margin-top: -13px;margin-right: 7px;background-color:#3E97E4;font-size:17px;"
					tabindex="0">
				               <i class="fa fa-plus"></i> 上刊申请
		            </a>
				</div>
			</td>
			<td>
				<div class="portlet-title" style="background-color:#ffffff">
					<form action="javascript:;" class="alert alert-success alert-borderless" style="height: 45px;background-color: #EEF4F5;">
						<div class="input-group" style="margin-top: -10px;">
							<div class="input-cont">
								<input type="text" placeholder="单据号..." class="form-control" ng-model="publishQuery.billNo"/>
							</div>
							<span class="input-group-btn">
							<button type="button" class="btn green-haze"  ng-click="publishTable.query();">
							<i class="fa fa-search"></i>&nbsp;搜索
							</button>
							</span>
						</div>
					</form>
				</div>
			</td>
		</tr>
	</table>
		
		
			
	<div class="portlet-body" >
		<div class="table-responsive">
			<table class="table">
			<thead>
			<tr >
				<th>
					单据号
				</th>
				<!-- <th>
					单据内容
				</th> -->
				<th>
					类型
				</th>
				<th>
					联系人
				</th>
				<th>
					联系电话
				</th>
				<th>
					开始时间
				</th>
				<th>
					截止时间
				</th>
				<th>
					申请时间
				</th>
				<th>
					状态
				</th>
				<th>
					操作
				</th>
			</tr>
			</thead>
			<tbody>
			<tr ng-repeat="data in dataArray">
				<td>
					<a ng-click="publishTable.view(data);">{{data.billNo}}</a>
				</td>
				<!-- <td>
					{{data.content}}
				</td> -->
				<td>
					<!-- <div class="btn-group">
						<a class="btn btn-success btn-sm"  ng-if="data.billType==1">
						<i class="fa fa-bus"></i> &nbsp;车辆上刊单
						</a>
						<a class="btn btn-info btn-sm"  ng-if="data.billType==2">
						<i class="fa fa-map-marker"></i> &nbsp;&nbsp;站点上刊单
						</a>
					</div> -->
					<div class="btn-group">
						<span  ng-if="data.billType==1">
						 &nbsp;&nbsp;车辆上刊单
						</span>
						<span  ng-if="data.billType==2">
						 &nbsp;&nbsp;站点上刊单
						</span>
					</div>
				</td>
				<td>
					{{data.contacts}}
				</td>
				<td>
					{{data.contactsPhone}}
				</td>
				<td>
					{{data.publishTime}}
				</td>
				<td>
					{{data.publishOffTime}}
				</td>
				<td>
					{{data.applyTime}}
				</td>
				<td>
					<!-- <div class="btn-group">
						<a class="btn default dark-stripe btn-sm"  ng-if="data.publishBillStatus==0">
						未提交
						</a>
						<a class="btn default yellow-stripe btn-sm"  ng-if="data.publishBillStatus==1">
						待审核
						</a>
						<a class="btn default red-stripe btn-sm"  ng-if="data.publishBillStatus==2">
						审核未通过
						</a>
						<a class="btn default green-stripe btn-sm"  ng-if="data.publishBillStatus==3">
						审核通过
						</a>
						<a class="btn default purple-stripe btn-sm"  ng-if="data.publishBillStatus==4">
						已完工
						</a>
					</div> -->
					<div class="btn-group">
						<span  ng-if="data.publishBillStatus==0">
						未提交
						</span>
						<span  ng-if="data.publishBillStatus==1">
						待审核
						</span>
						<span  ng-if="data.publishBillStatus==2">
						审核未通过
						</span>
						<span  ng-if="data.publishBillStatus==3">
						审核通过
						</span>
						<span  ng-if="data.publishBillStatus==4">
						已完工
						</span>
					</div>
				</td>
				<td>
					<div class="btn-group">
						<a class="btn btn-info"  ng-if="data.publishBillStatus==0" ng-click="publishTable.update(data);">
						<!-- <i class="fa fa-edit"></i> -->&nbsp;编辑
						</a>
						<a class="btn btn-warning"  ng-if="data.publishBillStatus == 0 || data.publishBillStatus == 2" ng-click="publishTable.start(data);">
						<!-- <i class="glyphicon glyphicon-play-circle"></i> -->&nbsp;提交审核
						</a>
						<a class="btn btn-success"  style="background-color: #3E97E4;" ng-if="data.publishBillStatus==3" ng-click="publishTable.viewMakeBillInfo(data);">
						<!-- <i class="glyphicon glyphicon-pencil"></i> -->&nbsp;办理
						</a>
						<a class="btn red-intense"  ng-if="data.publishBillStatus==0" ng-click="publishTable.deleteBill(data);">
						<!-- <i class="fa fa-trash-o"></i> -->&nbsp;删除
						</a>
						<a class="btn btn-primary" style="background-color: #3E97E4;" ng-if="data.publishBillStatus==4" ng-click="publishTable.viewMakeBillInfo(data);">
						<!-- <i class="fa fa-search"></i> -->&nbsp;查看
						</a>
					</div>
				</td>
			</tr>
			</tbody>
			</table>
			<div id="page_bar" style="position: relative; margin-top: 5px; margin-bottom: 25px;"></div>
		</div>
	</div>
</div>
